export const collect = function(id, type) {
	this.$u.api.collect({
		collection_id: id,
		collection_type: type
	}).then(res => {
		if(res.code == 1){
			return true
		}else{
			return false
		}
	})
}
